<div data-role="page">
    <div data-role="header">
        <a href="#" data-rel="back" class="ui-btn ui-icon-arrow-l ui-btn-icon-left ui-shadow">返回</a>
        <h1>同层渲染</h1>
    </div>
    <div role="main" class="ui-content">
        <p><embed id="input1" type="native/input" style="width: 100%; height: 50px;"></embed></p>
        <div data-role="collapsible">
            <h1>js动态设置原生组件内容</h1>
            <button  onclick="SetNativeText('input1','您好')" class="ui-btn ui-btn-a">点击设置内容</button>
        </div>
        <div data-role="collapsible">
            <h1>js侧获取原生组件内容</h1>
            <button  onclick="GetNativeText()" class="ui-btn ui-btn-a">点击获取内容</button>
            <p id="nativeTextInfo"></p>
        </div>
    </div>
</div>
